package Model;

/**
 * Created by xuxingcan on 16-7-25.
 */
public class LoginModel extends BaseModel {
    private String userName;
    private String userPwd;
    private boolean isLogin = false;
    private String randomString = "";

    public LoginModel(String userName, String userPwd) {
        this.userName = userName;
        this.userPwd = userPwd;
        this.modelType = BaseModel.TYPE_LOGIN_MODEL;
    }

    public String getUserName() {
        return userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public boolean isLogin() {
        return isLogin;
    }

    public void setLogin(boolean login) {
        isLogin = login;
    }

    public String getRandomString() {
        return randomString;
    }

    public void setRandomString(String randomString) {
        this.randomString = randomString;
    }
}
